#include "light.h"
const int lpinNumber=1;
int fire(bool &v){
 pinMode(lpinNumber,INPUT);
 sleep(0.3);
 if(digitalRead(lpinNumber)==0)
 	v=0;
 else if(digitalRead(lpinNumber)==1)
 	v=1;
 return 0;
}
